# In [39]: x=torch.rand(100,16,784)

# In [40]: layer=nn.BatchNorm1d(16)

# In [41]: out=layer(x)

# In [42]: layer.running_mean
# Out[42]: 
# tensor([0.0499, 0.0500, 0.0498, 0.0500, 0.0499, 0.0500, 0.0500, 0.0500, 0.0501,
#         0.0502, 0.0500, 0.0498, 0.0501, 0.0499, 0.0502, 0.0498])

# In [43]: layer.running_var
# Out[43]: 
# tensor([0.9084, 0.9083, 0.9083, 0.9083, 0.9083, 0.9083, 0.9083, 0.9083, 0.9083,
#         0.9083, 0.9083, 0.9083, 0.9083, 0.9084, 0.9083, 0.9083])